/*
 * Copyright (c) 2020 pig4cloud Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.thanks.thinkchina.constant;

/**
 * @author yf.zhu
 */
public interface CommonConstants {

	/**
	 * 删除
	 */
	String STATUS_DEL = "1";

	/**
	 * 正常
	 */
	String STATUS_NORMAL = "0";

	/**
	 * 锁定
	 */
	String STATUS_LOCK = "9";


	/**
	 * JSON 资源
	 */
	String CONTENT_TYPE = "application/json; charset=utf-8";


	/**
	 * 成功标记
	 */
	Integer SUCCESS = 0;

	/**
	 * 失败标记
	 */
	Integer FAIL = 1;

	/**
	 * 当前页
	 */
	String CURRENT = "current";

	/**
	 * size
	 */
	String SIZE = "size";

	/**
	 * UTF-8 字符集
	 */
	String UTF8 = "UTF-8";

	/**
	 * GBK 字符集
	 */
	String GBK = "GBK";


	/**
	 * API_ACCESS_KEY
	 */
	String API_ACCESS_KEY = "c78d1728a68ff4e023217d10f6a3dd3e";

	/**
	 * 获取最新的汇率
	 */
	String LIVE_API_FIXER = "http://api.coinlayer.com/api/live";

	/**
	 * 获取所有的汇率
	 */
	String LIST_API_FIXER = "http://api.coinlayer.com/api/list";

	/**
	 * “历史”端点-请求特定日期的历史费率
	 */
	String SYMBOLS_API_FIXER = "http://api.coinlayer.com/api/";





}
